package com.crm.dao;

import java.util.List;

import com.crm.model.Equipment;
import com.crm.model.PageBean;

public interface EquipmentDao {

    List<Equipment> list(PageBean pageBean, Equipment s_equipment);

    int count(Equipment s_equipment);

    void delete(int id);

    void add(Equipment equipment);

    void update(Equipment equipment);

    Equipment loadById(int id);

    boolean existEquipmentByTypeId(int typeId);
}
